package com.hos.net;

/**
 * 病历相关
 * Created by Administrator on 2018/8/23 0023.
 */
public class DictionariesIllService {
    //添加病历
    public static final String HOS_ILL_ADD = "hos.ill.add";
    //病历修改
    public static final String HOS_ILL_UPDATE = "hos.ill.update";
    //病历删除
    public static final String HOS_ILL_DELETE = "hos.ill.delete";
    //病历获取
    public static final String HOS_ILL_DETAILS = "hos.ill.details";

    //病历获取 体格信息
    public static final String HOS_ILL_DETAILS_BUILD = "hos.ill.details.build";
    //病历获取 影像资料
    public static final String HOS_ILL_DETAILS_DATA = "hos.ill.details.data";
    //病历获取 治疗信息
    public static final String HOS_ILL_DETAILS_CURE = "hos.ill.details.cure";
    //病历获取 病情治疗结果/出院情况
    public static final String HOS_ILL_DETAILS_RESULT = "hos.ill.details.result";
    //病历获取 病史
    public static final String HOS_ILL_DETAILS_HISTORYS = "hos.ill.details.historys";
    //病历获取 病史
    public static final String HOS_ILL_OPTION = "hos.ill.option";
    //病历获取 详情
    public static final String HOS_ILL_DETAILS_All = "hos.ill.details.all";

    public static boolean isIllService(String service) {
        boolean isOk = false;
        isOk = HOS_ILL_ADD.equals(service);
        if (!isOk) {
            isOk = HOS_ILL_ADD.equals(service);
        }
        if (!isOk) {
            isOk = HOS_ILL_UPDATE.equals(service);
        }
        if (!isOk) {
            isOk = HOS_ILL_DELETE.equals(service);
        }
        if (!isOk) {
            isOk = HOS_ILL_DETAILS.equals(service);
        }
        if (!isOk) {
            isOk = HOS_ILL_DETAILS_BUILD.equals(service);
        }
        if (!isOk) {
            isOk = HOS_ILL_DETAILS_DATA.equals(service);
        }
        if (!isOk) {
            isOk = HOS_ILL_DETAILS_CURE.equals(service);
        }
        if (!isOk) {
            isOk = HOS_ILL_DETAILS_RESULT.equals(service);
        }
        if (!isOk) {
            isOk = HOS_ILL_DETAILS_HISTORYS.equals(service);
        }
        if (!isOk) {
            isOk = HOS_ILL_OPTION.equals(service);
        }
        if (!isOk) {
            isOk = HOS_ILL_DETAILS_All.equals(service);
        }
        return isOk;

    }
}
